package cn.dubito.learning.security.core.properties;

import org.springframework.context.annotation.Configuration;

/**
 * @author liliang
 * @description:
 * @date 2018/1/25.
 */
public class BrowserProperties {

    private String loginPage = "/sign.html";

    private LoginResponseType loginType = LoginResponseType.JSON;

    /** 记住密码时长 */
    private int rememberMeSeconds = 3600;

    public String getLoginPage() {
        return loginPage;
    }

    public void setLoginPage(String loginPage) {
        this.loginPage = loginPage;
    }

    public LoginResponseType getLoginType() {
        return loginType;
    }

    public void setLoginType(LoginResponseType loginType) {
        this.loginType = loginType;
    }

    public int getRememberMeSeconds() {
        return rememberMeSeconds;
    }

    public void setRememberMeSeconds(int rememberMeSeconds) {
        this.rememberMeSeconds = rememberMeSeconds;
    }
}
